/*!
 * Page: pages/currency/currency
 * License: MIT
 * Created: 2019-10-10 11:38
 */

@import '../../var.scss';
page {
    // background-color: $bgcolor-gray;
    height: 100%;
}

.title {
    color: #ffffff;
    font-weight: 600;
    font-size: 36rpx;
}

.recharge {
    position: absolute;
    left: 30rpx;
    color: #ffffff;
    font-size: 28rpx;
    opacity: 0.7;
}

.total-currency {
    position: relative;
    width: 750rpx;
    padding-bottom: 84rpx;
    background: rgba(89, 205, 215, 1);
    .currency {
        color: #ffffff;
        font-weight: 500;
        font-size: 100rpx;
        text-align: center;
    }
    .frozen {
        color: #ffffff;
        opacity: 0.7;
        margin-top: -14rpx;
        padding-bottom: 40rpx;
        text-align: center;
        font-size: 28rpx;
    }
    .tabs {
        position: absolute;
        right: 20rpx;
        bottom: 0;
        left: 20rpx;
        display: flex;
        justify-content: space-around;
        height: 84rpx;
        padding: 48rpx 100rpx 11rpx;
        background-color: $bgcolor-light;
        border-radius: 20rpx 20rpx 0 0;
        &.fixed {
            position: fixed !important;
        }
        text {
            color: #b3b3b3;
            font-size: 26rpx;
            font-weight: 600;
            line-height: 26rpx;
            &.active {
                color: $black-color;
            }
        }
    }
}

.list {
    &+& {
        border-top: 1rpx solid $border-color;
    }
}

.block {
    margin-left: 20rpx;
    margin-right: 20rpx;
    padding: 30rpx 40rpx 20rpx;
    background-color: $bgcolor-light;
    border-radius: 20rpx;
    .signInBox {
        position: relative;
        display: flex;
        width: 100%;
        height: 60rpx;
        margin-top: 24rpx;
        .lines {
            width: 100%;
            height: 2rpx;
            margin-top: 30rpx;
            background-color: $ranks-bgcolor;
        }
         ::-webkit-scrollbar {
            width: 0;
            height: 0;
            color: transparent;
        }
        .signIncontent {
            position: absolute;
            display: flex;
            width: 100%;
            overflow-x: scroll;
            .item {
                margin: 0 17rpx;
                font-size: 20rpx;
                .round {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 60rpx;
                    height: 60rpx;
                    color: #ffffff;
                    background-color: $primarys-color;
                    border-radius: 50%;
                    image {
                        width: 27rpx;
                        height: 17rpx;
                    }
                    &.active {
                        background-color: $primary-color;
                    }
                }
                .titles {
                    width: 100%;
                    margin-top: 13rpx;
                    text-align: center;
                }
            }
        }
    }
    .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 630rpx;
        height: 70rpx;
        margin: auto;
        margin-top: 70rpx;
        color: #ffffff;
        font-size: 24rpx;
        background-color: $primary-color;
        border-radius: 12rpx;
        &.active {
            color: $info-color;
            background-color: #f2f2f2;
        }
    }
    .list {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-top: 40rpx;
        padding-bottom: 35rpx;
        .icon {
            width: 52rpx;
            height: 52rpx;
        }
        .content {
            display: flex;
            flex-direction: column;
            width: 443rpx;
            font-size: 18rpx;
            text {
                display: inline-block;
                color: $primary;
            }
            .intro,
            .intro2 {
                color: $info-color;
                font-size: 18rpx;
                line-height: 18rpx;
            }
            .intro {
                text {
                    color: $primary;
                }
            }
            .intro2 {
                margin-top: 10rpx;
            }
        }
        .state {
            width: 110rpx;
            button {
                height: 40rpx;
                color: $bgcolor-light;
                font-size: 24rpx;
                line-height: 40rpx;
                background: $primary;
                border-radius: 100rpx;
            }
        }
    }
    .title {
        display: block;
        color: $title-color;
        font-size: 28rpx;
        line-height: 28rpx;
    }
    &:last-child {
        margin-bottom: 20rpx;
    }
    &+& {
        margin-top: 20rpx;
    }
}

.section {
    display: block;
    box-sizing: border-box;
    width: 750rpx;
    background: #ededed;
    height: calc(100vh - 320rpx);
    padding-bottom: 180rpx;
    .invite {
        height: 186rpx;
        .intro2 {
            display: flex;
            align-items: center;
            font-size: 24rpx !important;
            & text {
                line-height: 24rpx;
                color: $info-color;
            }
            & button {
                display: inline-block;
                height: 30rpx;
                margin: 0 0 0 10rpx;
                padding: 0 20rpx;
                color: $info-color;
                font-size: 20rpx;
                line-height: 30rpx;
                border-radius: 100rpx;
            }
            &.relative {
                position: relative;
                &.line {
                    width: 100%;
                    height: 8rpx;
                    border-radius: 4rpx;
                }
            }
        }
    }
    .tasks {
        .list {
            .content {
                .intro2 {
                    display: inline-flex;
                    align-items: center;
                    margin-top: 15rpx;
                    &.relative {
                        position: relative;
                        & .line {
                            width: 100%;
                            height: 8rpx;
                            margin: 0;
                            border-radius: 4rpx;
                            &.current-line {
                                position: absolute;
                                background: linear-gradient( 90deg, rgba(89, 205, 215, 1) 0%, rgba(5, 155, 215, 1) 100%);
                            }
                        }
                    }
                }
            }
            .state {
                align-items: center;
                &.flex-f-d-c {
                    text {
                        font-size: 24rpx;
                    }
                }
                image {
                    width: 110rpx;
                    height: 40rpx;
                }
                text {
                    color: $primary;
                    font-size: 26rpx;
                    &.unfinished {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 110rpx;
                        height: 40rpx;
                        border: 1rpx solid $primary;
                        border-radius: 100rpx;
                    }
                    &.today {
                        color: $info-color;
                    }
                }
            }
        }
    }
    .topics {
        margin-top: 20rpx;
        padding-top: 40rpx;
        .content {
            display: inline;
            color: $info-color;
        }
    }
    &.order-list {
        background-color: $bgcolor-light;
    }
}

.login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    .loginBtn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 200rpx;
        height: 80rpx;
        color: $primary-color;
        font-size: 30rpx;
        border: 1rpx solid $primary-color;
        border-radius: 5rpx;
    }
}

.signIn {
    border-radius: 0 0 20rpx 20rpx;
    padding-top: 50rpx;
    padding-bottom: 30rpx;
}

//弹出框
.detailBox {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    .contentBox {
        position: fixed;
        bottom: 0;
        width: 100%;
        min-height: 300rpx;
        padding: 0 30rpx 300rpx 30rpx;
        color: $title-color;
        background-color: $bgcolor-light;
        border-radius: 20rpx 20rpx 0 0;
        .titleBox {
            display: flex;
            flex: 1;
            align-items: center;
            justify-content: space-between;
            height: 90rpx;
            .title {
                font-weight: 600;
                font-size: 32rpx;
                color: $title-color;
            }
            .cancel {
                font-size: 40rpx;
            }
        }
        .info {
            padding-bottom: 40rpx;
            color: $info-color;
            font-size: 24rpx;
            border-bottom: 1rpx solid $border-color;
        }
        .income {
            display: flex;
            align-items: flex-end;
            justify-content: center;
            margin-top: 40rpx;
            .sorce {
                color: $primary-color;
                font-size: 42rpx;
                line-height: 50rpx;
                font-weight: 600;
            }
        }
        .inviter {
            display: flex;
            flex-wrap: wrap;
            width: 100%;
            .userBox:nth-child(5n + 1) {
                margin: 40rpx 0 0 0;
            }
            .userBox {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                width: 90rpx;
                margin: 40rpx 0 0 60rpx;
                .userImg {
                    position: relative;
                    width: 80rpx;
                    height: 80rpx;
                    border-radius: 50%;
                    .avatar {
                        width: 100%;
                        height: 100%;
                    }
                    .authenticationBox {
                        position: absolute;
                        right: 0rpx;
                        bottom: 3rpx;
                        display: flex;
                        align-items: center;
                        width: 24rpx;
                        height: 24rpx;
                        image {
                            width: 100%;
                            height: 100%;
                            border-radius: 0;
                        }
                    }
                }
                .name {
                    width: 100%;
                    margin-top: 10rpx;
                    font-size: 20rpx;
                    line-height: 20rpx;
                    text-align: center;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
            }
        }
        .noInvitee {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 450rpx;
            color: $info-color;
            font-size: 24rpx;
        }
        .invitee {
            display: flex;
            justify-content: center;
            width: 100%;
            margin-top: 40rpx;
            color: $info-color;
            font-size: 20rpx;
            text {
                color: $title-color;
            }
        }
        .content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            height: 100%;
            .fans {
                display: flex;
                justify-content: center;
                width: 100%;
                color: $info-color;
                font-size: 30rpx;
                text {
                    color: $primary-color;
                }
            }
            .getSorce {
                display: flex;
                align-items: flex-end;
                justify-content: center;
                width: 100%;
                color: $info-color;
                font-size: 30rpx;
                text {
                    color: $primary-color;
                    font-size: 60rpx;
                    line-height: 60rpx;
                }
            }
        }
    }
}

.warningIcon {
    margin-right: 6rpx;
    margin-left: 6rpx;
}

.warnning {
    padding-bottom: 200rpx;
    margin-bottom: 50rpx;
    font-size: 26rpx;
    .tip {
        margin-top: 20rpx;
        margin-bottom: 20rpx;
        color: $info-color;
    }
    .des {
        color: $title-color;
    }
}